import { ElNotification } from "element-plus";

export default function inform(msg:string,duration?:number):void{
    ElNotification({
        dangerouslyUseHTMLString: true,
        message:
            `<div class='info-box'><div class='triangle'></div><div class='round'></div><p>${msg}</p></div>`,
        duration: duration || 2000,
    });
}